﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class double_betting : System.Web.UI.Page
{
    protected Model.LotteryQs lotteryqs = null;

    protected int type = 1;
    protected List<Model.LotteryDes> problemList = null;
    protected List<Model.LotteryAnnouncement> lotteryQS = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        lotteryqs = BLL.LotteryQs.GetModel(1);
        int totalCount = 0;
        problemList = BLL.LotteryDes.GetPageList_Where(0, 4, 1, out totalCount);

        int curCount = 0;
        lotteryQS = BLL.LotteryAnnouncement.GetPageList_Where(0, 2, type, out curCount);


    }
    public string SelectName(object Uid)
    {
        Model.CMember cm = BLL.CMember.GetModel(Convert.ToInt32(Uid));
        if (cm != null)
        {
            return cm.nickname;//用户真实姓名
        }
        else
        {
            return "***";
        }
    }
}